package com.abc.base.annotation;


import java.lang.reflect.Method;

@MyAnnotation(name = "annotation")
public class AnnotationMain {

   public static void main(String[] args) throws Exception {
      Class cls = AnnotationMain.class;

      Method method = cls.getMethod("main", String[].class);

      MyAnnotation myAnnotation = method.getAnnotation(MyAnnotation.class);

      System.out.println(myAnnotation);
   }


}
